<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>师资力量 - 家政小程序商学院</title>
    <script src="https://cdn.tailwindcss.com/3.3.3"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
    <style>
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: #f8f9fa;
            color: #333;
            max-width: 750px;
            margin: 0 auto;
        }
        .teacher-card {
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .teacher-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .alphabet-index {
            scrollbar-width: none;
        }
        .alphabet-index::-webkit-scrollbar {
            display: none;
        }
        .back-to-top {
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .back-to-top:hover {
            transform: scale(1.05);
        }
        .tab-active {
            color: #4f46e5;
            position: relative;
        }
        .tab-active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background-color: #4f46e5;
            border-radius: 3px;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="sticky top-0 z-10 bg-white shadow-sm px-4 py-3 flex items-center">
        <button class="text-gray-600 mr-4" onclick="window.history.back()">
            <i class="fas fa-chevron-left text-lg"></i>
        </button>
        <h1 class="text-xl font-bold text-gray-800 flex-1 text-center">师资力量</h1>
    </div>

    <!-- 筛选区 -->
    <div class="bg-white px-4 py-3 mb-4 shadow-sm">
        <div class="flex flex-wrap gap-2">
            <div class="relative w-full md:w-auto">
                <select class="w-full px-4 py-2 border border-gray-200 rounded-lg bg-gray-50 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500">
                    <option value="">全部专业领域</option>
                    <option value="cleaning">家政清洁</option>
                    <option value="nursing">母婴护理</option>
                    <option value="elderly">老人陪护</option>
                    <option value="cooking">家庭烹饪</option>
                </select>
            </div>
            <div class="relative w-full md:w-auto">
                <select class="w-full px-4 py-2 border border-gray-200 rounded-lg bg-gray-50 text-sm focus:outline-none focus:ring-2 focus:ring-indigo-500">
                    <option value="">全部教学经验</option>
                    <option value="1-3">1-3年</option>
                    <option value="3-5">3-5年</option>
                    <option value="5+">5年以上</option>
                </select>
            </div>
        </div>
    </div>

    <!-- 字母索引 -->
    <div class="bg-white px-4 py-2 mb-4 overflow-x-auto alphabet-index">
        <div class="flex space-x-4 min-w-max">
            <a href="#A" class="text-gray-600 hover:text-indigo-600 text-sm">A</a>
            <a href="#B" class="text-gray-600 hover:text-indigo-600 text-sm">B</a>
            <a href="#C" class="text-gray-600 hover:text-indigo-600 text-sm">C</a>
            <a href="#D" class="text-gray-600 hover:text-indigo-600 text-sm">D</a>
            <a href="#E" class="text-gray-600 hover:text-indigo-600 text-sm">E</a>
            <a href="#F" class="text-gray-600 hover:text-indigo-600 text-sm">F</a>
            <a href="#G" class="text-gray-600 hover:text-indigo-600 text-sm">G</a>
            <a href="#H" class="text-gray-600 hover:text-indigo-600 text-sm">H</a>
            <a href="#I" class="text-gray-600 hover:text-indigo-600 text-sm">I</a>
            <a href="#J" class="text-gray-600 hover:text-indigo-600 text-sm">J</a>
            <a href="#K" class="text-gray-600 hover:text-indigo-600 text-sm">K</a>
            <a href="#L" class="text-gray-600 hover:text-indigo-600 text-sm">L</a>
            <a href="#M" class="text-gray-600 hover:text-indigo-600 text-sm">M</a>
            <a href="#N" class="text-gray-600 hover:text-indigo-600 text-sm">N</a>
            <a href="#O" class="text-gray-600 hover:text-indigo-600 text-sm">O</a>
            <a href="#P" class="text-gray-600 hover:text-indigo-600 text-sm">P</a>
            <a href="#Q" class="text-gray-600 hover:text-indigo-600 text-sm">Q</a>
            <a href="#R" class="text-gray-600 hover:text-indigo-600 text-sm">R</a>
            <a href="#S" class="text-gray-600 hover:text-indigo-600 text-sm">S</a>
            <a href="#T" class="text-gray-600 hover:text-indigo-600 text-sm">T</a>
            <a href="#U" class="text-gray-600 hover:text-indigo-600 text-sm">U</a>
            <a href="#V" class="text-gray-600 hover:text-indigo-600 text-sm">V</a>
            <a href="#W" class="text-gray-600 hover:text-indigo-600 text-sm">W</a>
            <a href="#X" class="text-gray-600 hover:text-indigo-600 text-sm">X</a>
            <a href="#Y" class="text-gray-600 hover:text-indigo-600 text-sm">Y</a>
            <a href="#Z" class="text-gray-600 hover:text-indigo-600 text-sm">Z</a>
        </div>
    </div>

    <!-- 讲师列表 -->
    <div class="px-4 pb-20">
        <div id="A" class="mb-6">
            <h2 class="text-lg font-bold text-gray-800 mb-3">A</h2>
            <div class="grid grid-cols-2 gap-4">
                <!-- 讲师卡片1 -->
                <div class="teacher-card bg-white rounded-lg overflow-hidden">
                    <div class="p-4">
                        <div class="flex items-center mb-3">
                            <img src="https://s.coze.cn/image/B9DxuYSHRb4/" class="w-16 h-16 rounded-full object-cover border-2 border-indigo-100" alt="讲师头像">
                            <div class="ml-3">
                                <h3 class="font-bold text-gray-800">安老师</h3>
                                <p class="text-sm text-gray-500">高级家政培训师</p>
                            </div>
                        </div>
                        <div class="flex flex-wrap gap-1 mb-2">
                            <span class="px-2 py-1 bg-indigo-50 text-indigo-600 text-xs rounded-full">家政清洁</span>
                            <span class="px-2 py-1 bg-purple-50 text-purple-600 text-xs rounded-full">家庭收纳</span>
                        </div>
                        <p class="text-xs text-gray-600 mb-2 line-clamp-3">拥有8年家政服务经验，5年培训经验，擅长现代家庭清洁与收纳技巧，培养学员超过1000名。</p>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500"><i class="fas fa-clock mr-1"></i>5年教学</span>
                            <a href="#" class="text-indigo-600 font-medium">查看课程 <i class="fas fa-chevron-right ml-1"></i></a>
                        </div>
                    </div>
                </div>

                <!-- 讲师卡片2 -->
                <div class="teacher-card bg-white rounded-lg overflow-hidden">
                    <div class="p-4">
                        <div class="flex items-center mb-3">
                            <img src="https://s.coze.cn/image/jcqJlet2oGM/" class="w-16 h-16 rounded-full object-cover border-2 border-indigo-100" alt="讲师头像">
                            <div class="ml-3">
                                <h3 class="font-bold text-gray-800">艾老师</h3>
                                <p class="text-sm text-gray-500">母婴护理专家</p>
                            </div>
                        </div>
                        <div class="flex flex-wrap gap-1 mb-2">
                            <span class="px-2 py-1 bg-pink-50 text-pink-600 text-xs rounded-full">母婴护理</span>
                            <span class="px-2 py-1 bg-blue-50 text-blue-600 text-xs rounded-full">产后康复</span>
                        </div>
                        <p class="text-xs text-gray-600 mb-2 line-clamp-3">三甲医院儿科护士长转行，10年临床经验，3年培训经验，精通新生儿护理与产后康复指导。</p>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500"><i class="fas fa-clock mr-1"></i>3年教学</span>
                            <a href="#" class="text-indigo-600 font-medium">查看课程 <i class="fas fa-chevron-right ml-1"></i></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div id="B" class="mb-6">
            <h2 class="text-lg font-bold text-gray-800 mb-3">B</h2>
            <div class="grid grid-cols-2 gap-4">
                <!-- 讲师卡片3 -->
                <div class="teacher-card bg-white rounded-lg overflow-hidden">
                    <div class="p-4">
                        <div class="flex items-center mb-3">
                            <img src="https://s.coze.cn/image/NEThWrmqN_g/" class="w-16 h-16 rounded-full object-cover border-2 border-indigo-100" alt="讲师头像">
                            <div class="ml-3">
                                <h3 class="font-bold text-gray-800">白老师</h3>
                                <p class="text-sm text-gray-500">老人护理专家</p>
                            </div>
                        </div>
                        <div class="flex flex-wrap gap-1 mb-2">
                            <span class="px-2 py-1 bg-green-50 text-green-600 text-xs rounded-full">老人陪护</span>
                            <span class="px-2 py-1 bg-yellow-50 text-yellow-600 text-xs rounded-full">康复护理</span>
                        </div>
                        <p class="text-xs text-gray-600 mb-2 line-clamp-3">15年养老院护理经验，7年培训经验，熟悉各类老年常见病护理及康复训练方法。</p>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500"><i class="fas fa-clock mr-1"></i>7年教学</span>
                            <a href="#" class="text-indigo-600 font-medium">查看课程 <i class="fas fa-chevron-right ml-1"></i></a>
                        </div>
                    </div>
                </div>

                <!-- 讲师卡片4 -->
                <div class="teacher-card bg-white rounded-lg overflow-hidden">
                    <div class="p-4">
                        <div class="flex items-center mb-3">
                            <img src="https://s.coze.cn/image/AYezoBoXUPw/" class="w-16 h-16 rounded-full object-cover border-2 border-indigo-100" alt="讲师头像">
                            <div class="ml-3">
                                <h3 class="font-bold text-gray-800">毕老师</h3>
                                <p class="text-sm text-gray-500">家庭烹饪培训师</p>
                            </div>
                        </div>
                        <div class="flex flex-wrap gap-1 mb-2">
                            <span class="px-2 py-1 bg-red-50 text-red-600 text-xs rounded-full">家庭烹饪</span>
                            <span class="px-2 py-1 bg-orange-50 text-orange-600 text-xs rounded-full">营养搭配</span>
                        </div>
                        <p class="text-xs text-gray-600 mb-2 line-clamp-3">高级营养师，4年家政烹饪培训经验，擅长家常菜制作与营养搭配，教学风格生动有趣。</p>
                        <div class="flex justify-between items-center text-xs">
                            <span class="text-gray-500"><i class="fas fa-clock mr-1"></i>4年教学</span>
                            <a href="#" class="text-indigo-600 font-medium">查看课程 <i class="fas fa-chevron-right ml-1"></i></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 更多字母分组... -->
    </div>

    <!-- 返回顶部按钮 -->
    <button class="back-to-top fixed bottom-24 right-4 w-12 h-12 bg-white rounded-full shadow-lg flex items-center justify-center text-indigo-600" onclick="window.scrollTo({top: 0, behavior: 'smooth'})">
        <i class="fas fa-arrow-up text-lg"></i>
    </button>

    <!-- 底部导航 -->
    <!-- <div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-100 max-w-750 mx-auto">
        <div class="flex justify-around py-3">
            <a href="#" class="flex flex-col items-center text-gray-500">
                <i class="fas fa-home text-xl"></i>
                <span class="text-xs mt-1">首页</span>
            </a>
            <a href="#" class="flex flex-col items-center text-indigo-600 tab-active">
                <i class="fas fa-graduation-cap text-xl"></i>
                <span class="text-xs mt-1">商学院</span>
            </a>
            <a href="#" class="flex flex-col items-center text-gray-500">
                <i class="fas fa-calendar-alt text-xl"></i>
                <span class="text-xs mt-1">课程</span>
            </a>
            <a href="#" class="flex flex-col items-center text-gray-500">
                <i class="fas fa-user text-xl"></i>
                <span class="text-xs mt-1">我的</span>
            </a>
        </div>
    </div> -->

    <script>
        // 返回顶部按钮显示/隐藏
        window.addEventListener('scroll', function() {
            const backToTopButton = document.querySelector('.back-to-top');
            if (window.scrollY > 300) {
                backToTopButton.classList.remove('hidden');
            } else {
                backToTopButton.classList.add('hidden');
            }
        });

        // 字母索引点击平滑滚动
        document.querySelectorAll('.alphabet-index a').forEach(link => {
            link.addEventListener('click', function(e) {
                e.preventDefault();
                const targetId = this.getAttribute('href');
                const targetElement = document.querySelector(targetId);
                if (targetElement) {
                    window.scrollTo({
                        top: targetElement.offsetTop - 100,
                        behavior: 'smooth'
                    });
                }
            });
        });
    </script>
</body>
</html>